home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Actual 53
/
PC Actual CD 53.iso
/
Share
/
Progra
/
python
/
BeOpen-Python-2.0.exe
/
DBHASH.PY
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Python Source
|
2000-09-28
|
228 b
|
9 lines
"""Provide a (g)dbm-compatible interface to bsdhash.hashopen."""
import bsddb
error = bsddb.error # Exported for anydbm
def open(file, flag, mode=0666):
return bsddb.hashopen(file, flag, mode)